//
// Created by Administrator on 2021/5/24.
//
#include "iostream"
using namespace std;

int main(){

    int arr[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};

    cout << "The first number is : " << arr[0] << endl;

    int * p = arr;

    cout << "pointer find the first number : " << *p << endl;

    for (int i = 0; i < 10; i++) {
        cout << *p << endl;
        p ++;
    }

//    p ++;
//
//    cout << "pointer find the second number : " << *p << endl;

    system("pause");

    return 0;
}